package com.bayair.doctor.ui.inquiry;

import com.bayair.doctor.data.bean.ServerListResp;
import com.bayair.doctor.mvp.IView;
import com.bayair.doctor.net.BaseEntity;
import com.tencent.qcloud.tim.uikit.modules.contact.ContactItemBean;

import java.util.List;

import io.reactivex.Observable;

/**
 * Author: tuyrt7
 * Date: 2019/9/29 9:55
 * Description:
 */
public interface InquiryContract {

    interface Model {
        Observable<BaseEntity<ServerListResp>> getListInServer();
     }

    interface View extends IView {

        void updateContact(List<ContactItemBean> infos);
    }

    interface Presenter {
        void getListInServer();
    }

}
